<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the play method from the JidoujishoAudioHandler class, for the Dart programming language.">
  <title>play method - JidoujishoAudioHandler class - utils library - Dart API</title>


  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" rel="stylesheet">
  
  <link rel="stylesheet" href="../../static-assets/github.css?v1">
  <link rel="stylesheet" href="../../static-assets/styles.css?v1">
  <link rel="icon" href="../../static-assets/favicon.png?v1">

  
</head>


<body data-base-href="../../" data-using-base-href="false" class="light-theme">

<div id="overlay-under-drawer"></div>

<header id="title">
  <span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../../index.html">yuuna</a></li>
    <li><a href="../../utils/utils-library.html">utils</a></li>
    <li><a href="../../utils/JidoujishoAudioHandler-class.html">JidoujishoAudioHandler</a></li>
    <li class="self-crumb">play method</li>
  </ol>
  <div class="self-name">play</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
  <div class="toggle" id="theme-button">
    <label for="theme">
      <input type="checkbox" id="theme" value="light-theme">
      <span id="dark-theme-button" class="material-symbols-outlined">
        brightness_4
      </span>
      <span id="light-theme-button" class="material-symbols-outlined">
        brightness_5
      </span>
    </label>
  </div>
</header>
<main>

  <div id="dartdoc-main-content" class="main-content">
      <div>
<h1><span class="kind-method">play</span> method 
</h1></div>

    <section class="multi-line-signature">
      
  <div>
    <ol class="annotation-list">
        <li>@<a href="https://api.flutter.dev/flutter/dart-core/override-constant.html">override</a></li>
    </ol>
  </div>

<span class="returntype"><a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>
<span class="name ">play</span>(<wbr>)

      <div class="features"><span class="feature">override</span></div>

    </section>
    
<section class="desc markdown">
  <p>Handles play request.</p>
</section>


    
<section class="summary source-code" id="source">
  <h2><span>Implementation</span></h2>
  <pre class="language-dart"><code class="language-dart">@override
Future&lt;void&gt; play() async {
  onPlayPause();
}</code></pre>
</section>


  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="search">
    <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
  <li><a href="../../index.html">yuuna</a></li>
  <li><a href="../../utils/utils-library.html">utils</a></li>
  <li><a href="../../utils/JidoujishoAudioHandler-class.html">JidoujishoAudioHandler</a></li>
  <li class="self-crumb">play method</li>
</ol>


    <h5>JidoujishoAudioHandler class</h5>
    <ol>

        <li class="section-title"><a href="../../utils/JidoujishoAudioHandler-class.html#constructors">Constructors</a></li>
          <li><a href="../../utils/JidoujishoAudioHandler/JidoujishoAudioHandler.html">JidoujishoAudioHandler</a></li>


        <li class="section-title">
          <a href="../../utils/JidoujishoAudioHandler-class.html#instance-properties">Properties</a>
        </li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/androidPlaybackInfo.html">androidPlaybackInfo</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/customEvent.html">customEvent</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/customState.html">customState</a></li>
          <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/mediaItem.html">mediaItem</a></li>
          <li><a href="../../utils/JidoujishoAudioHandler/onPlayPause.html">onPlayPause</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/playbackState.html">playbackState</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/queue.html">queue</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/queueTitle.html">queueTitle</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/ratingStyle.html">ratingStyle</a></li>
          <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>

        <li class="section-title"><a href="../../utils/JidoujishoAudioHandler-class.html#instance-methods">Methods</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/addQueueItem.html">addQueueItem</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/addQueueItems.html">addQueueItems</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/androidAdjustRemoteVolume.html">androidAdjustRemoteVolume</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/androidSetRemoteVolume.html">androidSetRemoteVolume</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/click.html">click</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/customAction.html">customAction</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/fastForward.html">fastForward</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/getChildren.html">getChildren</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/getMediaItem.html">getMediaItem</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/insertQueueItem.html">insertQueueItem</a></li>
          <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/onNotificationDeleted.html">onNotificationDeleted</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/onTaskRemoved.html">onTaskRemoved</a></li>
          <li><a href="../../utils/JidoujishoAudioHandler/pause.html">pause</a></li>
          <li><a href="../../utils/JidoujishoAudioHandler/play.html">play</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/playFromMediaId.html">playFromMediaId</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/playFromSearch.html">playFromSearch</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/playFromUri.html">playFromUri</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/playMediaItem.html">playMediaItem</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/prepare.html">prepare</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/prepareFromMediaId.html">prepareFromMediaId</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/prepareFromSearch.html">prepareFromSearch</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/prepareFromUri.html">prepareFromUri</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/removeQueueItem.html">removeQueueItem</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/removeQueueItemAt.html">removeQueueItemAt</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/rewind.html">rewind</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/search.html">search</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/seek.html">seek</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/seekBackward.html">seekBackward</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/seekForward.html">seekForward</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/setCaptioningEnabled.html">setCaptioningEnabled</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/setRating.html">setRating</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/setRepeatMode.html">setRepeatMode</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/setShuffleMode.html">setShuffleMode</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/setSpeed.html">setSpeed</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/skipToNext.html">skipToNext</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/skipToPrevious.html">skipToPrevious</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/skipToQueueItem.html">skipToQueueItem</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/stop.html">stop</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/subscribeToChildren.html">subscribeToChildren</a></li>
          <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/updateMediaItem.html">updateMediaItem</a></li>
          <li class="inherited"><a href="https://pub.dev/documentation/audio_service/0.18.9/audio_service/BaseAudioHandler/updateQueue.html">updateQueue</a></li>

        <li class="section-title inherited"><a href="../../utils/JidoujishoAudioHandler-class.html#operators">Operators</a></li>
          <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></li>




</ol>

  </div><!--/.sidebar-offcanvas-->

  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    yuuna
      2.8.0+93
  </span>

  
</footer>



<script src="../../static-assets/highlight.pack.js?v1"></script>
<script src="../../static-assets/docs.dart.js"></script>



</body>

</html>

